<!-- 头部 -->
<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/home/js/x-layui.js"></script>
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/sishu_teacher_index.css"media="all">
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/sishu_teacher_base.css"media="all">
        <link href="__PUBLIC__/home/css/header2_9.css" rel="stylesheet" type="text/css"media="all">

        <style type="text/css">
            .calendar{position:absolute;width:150px!important;width /**/:152px;height:194px!important;height
            /**/:184px;background-color:#ffffff;border:1px solid #f90;left:0px;top:0px;z-index:9999;}
            .cdrHeader{background-color:#f90;width:150px;height:22px;font-size:12px;color:#ffffff;}
            .cdrWatermark{position:absolute;left:0px;top:90px;width:140px;font-family:
            Arial Black;font-size:50px;color:#d4d4d4;z-index:1;text-align:center;}
            .cdrBodyBar{background-color:#f4f4f4;font-size:12px;color:#000000;width:148px;height:20px;}
            .cdrBody{width:140px;height:122px!important; height /**/:110px;font-size:12px;cursor:pointer;color:#000000;}
            .dayOver{height:16px;padding:0px;border:1px solid black;background-color:#f4f4f4;}
            .dayOut{padding:1px;border:none;height:16px;} .menuOver{background-color:#f90;color:#ffffff;font-size:12px;}
            .headerOver{border:1px solid black;background-color:#f4f4f4;color:black;cursor:default;}
            .cdrMenu{font-size:12px;border:1px solid #000000;background-color:#ffffff;cursor:default;width:100%}
            html>body #Calendar{width:142px;174px;}
        </style>
            <div class="mian_nav">
                <div class="mycenter">
                    <div class="nav_box">
                        <ul>
    <li class="home"><a href="{:U('index/index',array('newcity'=>$city))}" target="_self">首页</a></li>
    <li><a href="{:U('index/jiazhang_zn',array('newcity'=>$city))}" target="_self">学员指南</a></li>
    <li><a href="{:U('index/laoshi_zn',array('newcity'=>$city))}" target="_self">老师指南</a></li>
    <li><a href="{:U('index/about',array('newcity'=>$city))}" target="_self">关于平台</a></li>
                        </ul>
                        <div class="nav-line" style="left:92px;width:64px;">
                        </div>
                    </div>
                </div>
            </div>
        </header>
        <div class="auto1200">
            <div class="jz_main fl ">
                <style>
                    .qrtop { width: 100%; padding: 60px 0 0; display: inline-block; } .qrtop
                    div{ display: inline-block; width: 100%; } .qrtop span { width: 20%; float:
                    left; text-align: right; font-size: 20px; line-height: 40px; height: 40px;
                    } .qrtop input { width: 75%; float: right; text-align: left; height: 40px;
                    line-height: 40px; margin-right: 3%; text-indent: 1em; } .qrtop textarea{
                    width: 75%; height: 100px; max-height: 130px; border: 1px solid #abadb3;
                    padding: 15px; float: right; margin-right: 3%; } .xk_ceng_twoBtn{ height:
                    50px; }
                </style>
                <div class="t_content">
                    <div class="tab1" id="tab1">
                        <div class="menu">
                            <ul id="control_childrenPages">
                                <a href="{:U('laoshi/laoshi_core',array('newcity'=>$city))}"><li id="one1"><div class="bg1"></div>预约订单</li></a>
                                <a href="{:U('laoshi/laoshi_core_order',array('newcity'=>$city))}"><li id="one1"><div class="bg1"></div>我的课程</li></a>
                                <!-- <a href="{:U('laoshi/laoshi_core_zhanghao',array('newcity'=>$city))}"><li id="one1" class="off"><div class="bg1"></div>我的账户</li></a> -->
                            </ul>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="menudiv" id="childrenPages">
                            <div class="bind_warp">
                                <dl class="binding_cards" style="margin-left: 0px;">
                                    <dd>
                                        <label for=""><span class="bind_txt_dot">*</span>我的总金额：</label>
                                        <span>{$user_infos.z_price} 元</span>
                                    </dd>
                                    <dd>
                                        <label for=""><span class="bind_txt_dot">*</span>今日拆红包：</label>

                                        <?php if ($dr_time > $user_infos['hb_time']) { ?>
                                       <span>今天未拆红包哦</span><span>
                                        <a title="拆红包" href="javascript:;" onclick="chai_hb('拆红包','{:U('chouj/index',array('newcity'=>$city))}','4','','410')"
                                            class="ml-5" style="text-decoration:none">
                                            <i class="layui-icon" style="border: 1px solid red;padding: 2px;border-radius: 10px;font-size: 12px;color: red;">去拆红包</i>
                                        </a>
                                        <?php }else { ?>
                                        <span>{$user_infos.price} 元</span><span> 时间：<?php echo date('Y-m-d H:i:s',$user_infos['hb_time']) ?></span>
                                        <?php } ?>

                                    </dd>
                                    <dd>
                                        <label for=""><span class="bind_txt_dot">*</span></label>
                                        <span>更多功能敬请期待...</span>
                                    </dd>
                                </dl>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script>
            layui.use(['laydate','element','laypage','layer'], function(){
                $ = layui.jquery;//jquery
              laydate = layui.laydate;//日期插件
              lement = layui.element();//面包导航
              laypage = layui.laypage;//分页
              layer = layui.layer;//弹出层


            });


            //编辑
            function chai_hb (title,url,id,w,h) {
                x_admin_show(title,url,w,h); 
            }

            </script>
    </body>

</html>